import request from "/@/utils/request"

/**
 * 获取产出数据
 * @param data
 */
export function getOutputRecord(data?: any) {
    return request({
        url: '/report/inputOutput/getOutputRecord',
        method: 'post',
        data: data
    })
}
/**
 * 获取投料数据
 * @param data
 */
export function getInputRecord(data?: any) {
    return request({
        url: '/report/inputOutput/GetInputRecord',
        method: 'post',
        data: data
    })
}
/**
 * 获取扣料数据
 * @param data
 */
export function getConsumeRecord(data?: any) {
    return request({
        url: '/report/inputOutput/GetConsumeRecord',
        method: 'post',
        data: data
    })
}
/**
 * 获取工序
 * @param data
 */
export function getAllProcess(data?: any) {
    return request({
        url: '/wms/process/GetAllProcessListNoPage',
        method: 'post',
        data: data
    })
}
/**
 * 获取扣料数据
 * @param data
 */
export function GetConsumeRecordTotalQty(data?: any) {
    return request({
        url: '/report/inputOutput/GetConsumeRecordTotalQty',
        method: 'post',
        data: data
    })
}
/**
 * 获取投料数据
 * @param data
 */
export function GetInputRecordTotalQty(data?: any) {
    return request({
        url: '/report/inputOutput/GetInputRecordTotalQty',
        method: 'post',
        data: data
    })
}
/**
 * 获取产出数据
 * @param data
 */
export function GetOutputRecordTotalQty(data?: any) {
    return request({
        url: '/report/inputOutput/GetOutputRecordTotalQty',
        method: 'post',
        data: data
    })
}
/**
 * 产出明细数据
 * @param data
 */
export function GetOutputRecordSum(data?: any) {
    return request({
        url: '/wms/todayReport/GetOutputRecordSum',
        method: 'post',
        data: data
    })
}
/**
 * 投入明细数据
 * @param data
 */
export function GetInputRecordSum(data?: any) {
    return request({
        url: '/report/inputOutput/GetInputRecordSum',
        method: 'post',
        data: data
    })
}

/**
* 产出汇总
* @param data
*/
export function GetOutputRecordSumTotalQty(data?: any) {
    return request({
        url: '/wms/todayReport/GetOutputRecordSumTotalQty',
        method: 'post',
        data: data
    })
}
/**
 * 投入汇总
 * @param data
 */
export function GetInputRecordSumTotalQty(data?: any) {
    return request({
        url: '/report/inputOutput/GetInputRecordSumTotalQty',
        method: 'post',
        data: data
    })
}
